#pragma once
#include "Component/Util/AppModuleView.h"
#include "utilities/utilities.h"

class AppModule;
class AppModuleModel;
class QTableView;
class QModelIndex;

class DisplayView : public AppModuleView
{
	Q_OBJECT
public:
	DisplayView(AppModule* moduleref,shared_ptr<AppModuleModel> modelRef);

protected:
	void onModelUpdate(int);
	void resizeEvent(QResizeEvent *);

private slots:
	void onItemDoubleClicked(const QModelIndex& index);

private:
	QTableView* m_ListView;
};
